const mongoose = require('mongoose')
const { Schema } = mongoose

const bannerSchema = new Schema({
  id: Number,
  image: String,
}, { _id: false })

const BannerModel = mongoose.model('Banner', bannerSchema)

module.exports = BannerModel
